﻿/* 3. A company has name, address, phone number, fax number, web site and manager. 
 * The manager has first name, last name, age and a phone number. 
 * Write a program that reads the information about a company and its manager and prints them on the console. */

using System;

public class Company
{
    public static void Main()
    {
        string companyName;
        string companyAddress;
        string companyPhoneNumber;
        string companyFaxNumber;
        string companyWebSite;
        string managerFirstName;
        string managerLastName;
        byte managerAge;
        string managerPhoneNumber;

        Console.WriteLine();

        Console.Write("{0,23}", "Company Name = ");
        companyName = Console.ReadLine();
        Console.Write("{0,23}", "Company Address = ");
        companyAddress = Console.ReadLine();
        Console.Write("{0,23}", "Company Phone Number = ");
        companyPhoneNumber = Console.ReadLine();
        Console.Write("{0,23}", "Company Fax Number = ");
        companyFaxNumber = Console.ReadLine();
        Console.Write("{0,23}", "Company Web Site = ");
        companyWebSite = Console.ReadLine();
        Console.Write("{0,23}", "Manager First Name = ");
        managerFirstName = Console.ReadLine();
        Console.Write("{0,23}", "Manager Last Name = ");
        managerLastName = Console.ReadLine();
        Console.Write("{0,23}", "Manager Age = ");
        managerAge = byte.Parse(Console.ReadLine());
        Console.Write("{0,23}", "Manager Phone Number = ");
        managerPhoneNumber = Console.ReadLine();

        Console.WriteLine("\n{0}\n", new string('-', 40));

        Console.WriteLine("{0,-20} : {1}", "Company Name", companyName);
        Console.WriteLine("{0,-20} : {1}", "Company Address", companyAddress);
        Console.WriteLine("{0,-20} : {1}", "Company Phone Number", companyPhoneNumber);
        Console.WriteLine("{0,-20} : {1}", "Company Fax Number", companyFaxNumber);
        Console.WriteLine("{0,-20} : {1}", "Company Web Site", companyWebSite);
        Console.WriteLine("{0,-20} : {1}", "Manager First Name", managerFirstName);
        Console.WriteLine("{0,-20} : {1}", "Manager Last Name", managerLastName);
        Console.WriteLine("{0,-20} : {1}", "Manager Age", managerAge);
        Console.WriteLine("{0,-20} : {1}", "Manager Phone Number", managerPhoneNumber);

        Console.WriteLine();
    }
}